package com.kittlen.managementSystem.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.kittlen.managementSystem.entity.MySqlLimit;
import com.kittlen.managementSystem.entity.Notice;
import com.kittlen.managementSystem.mapper.NoticeMapper;
import com.kittlen.managementSystem.service.INoticeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 公告表 服务实现类
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
@Service
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements INoticeService {

    @Override
    public List<Notice> selects(Wrapper wrapper) {
        return baseMapper.selects(wrapper);
    }

    @Override
    public int insert(Notice notice) {
        return baseMapper.insert(notice);
    }
}
